//
//  LDSCollectionViewCellViewModel.h
//  LDSMVVMBase
//
//  Created by kai_leedarson on 2017/10/9.
//  Copyright © 2017年 maple_leedarson. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "LDSBaseCollectionViewCell.h"

@interface LDSCollectionViewCellViewModel : NSObject

@property (nonatomic, weak) UICollectionView *collectionView;
@property (nonatomic, assign) Class viewClass;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) id model;
@property (nonatomic, assign) NSInteger tag;
@property (nonatomic, readonly, getter=cell) LDSBaseCollectionViewCell *cell;

+ (LDSCollectionViewCellViewModel *)modelCellWithClass:(Class)vClass model:(id)model;

+ (LDSCollectionViewCellViewModel *)modelCellWithClass:(Class)vClass
                                    model:(id)model
                                      tag:(NSInteger)tag;
@end
